#include <iostream>
#include <iomanip>

#include "point2.h"
#include "circle3.h"


using namespace std;

int main(int argc, char** argv) 
{	
	 
	Point point(30, 50);
	Point *pointPtr = 0;
	Circle circle(120, 89, 2.7);
	Circle *circlePtr = 0;
	
	cout << fixed << setprecision(2);
	
	cout << "object." << "\n";
	cout << "point.print() is: " << "\n";
	point.print();
	cout << "circle.print() is: " << "\n";
	circle.print();
	
	cout << "Ptr->" << "\n";
	
	pointPtr = &point;	
	cout << "pointPtr->print() is:" << pointPtr << "\n";
	pointPtr->print();
	
	circlePtr = &circle; 
	cout << "circlePtr->print() is:" << circlePtr << "\n";
	circlePtr->print();
	
	pointPtr = &circle;
	cout << "circlePtr->print() is:" << pointPtr << "\n";
	pointPtr->print();
	return 0;
}
